package com.aat.dizena.base.service;

import java.util.*;
import com.aat.dizena.base.bean.Ress;

public interface RessService {

	int addBean(Ress bean);

	int updateBean(Ress bean);

	int deleteBean(String id);

	Ress queryBean(String id);

	List<Ress> queryAll(Map<String, Object> map);

	long queryCount(Map<String, Object> map);

	List<Ress> queryResByLP(String pid, Integer level);

	Integer queryResSort(String resType, Integer resLevel, String resPid);

	List<Ress> queryParentRes(String resType, Integer resLevel);
}
